﻿namespace EyeOpen
{
	public class Property
	{
		public string Name { get; set; }

		public string Value { get; set; }

		public string Type { get; set; }

		public override bool Equals(object obj)
		{
			if (obj == null || GetType() != obj.GetType())
			{
				return false;
			}

			var other = (Property)obj;

			return Name.Equals(other.Name);
		}

		public override int GetHashCode()
		{
			return Name.GetHashCode();
		}
	}
}